﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Mongaba.Core.Exceptions
{
    [Serializable]
    public class CoordinatorIsSleepingException : Exception
    {
        string _message;
        public override string Message
        {
            get
            {
                return this._message;
            }
        }
        public CoordinatorIsSleepingException() {
            this._message = "O coordenador não está ativo aqui";
        }
        public CoordinatorIsSleepingException(string message) : base(message) { }
        public CoordinatorIsSleepingException(string message, Exception inner) : base(message, inner) { }
        protected CoordinatorIsSleepingException(
          System.Runtime.Serialization.SerializationInfo info,
          System.Runtime.Serialization.StreamingContext context)
            : base(info, context) { }
    }
}
